package com.jboost.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.SchedulingConfigurer;
import org.springframework.scheduling.config.ScheduledTaskRegistrar;

import java.util.Arrays;

@Configuration
@Profile("dev")
public class SchedulingConfig implements SchedulingConfigurer {
    @Override
    public void configureTasks(ScheduledTaskRegistrar taskRegistrar) {
        taskRegistrar.setCronTasksList(Arrays.asList());
        taskRegistrar.setFixedDelayTasksList(Arrays.asList());
        taskRegistrar.setFixedRateTasksList(Arrays.asList());
    }
}
